package com.example.certificate.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author Hao
 * @date 2022年01月02日 17:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Tree implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String label;

    private String parentId;

    private Integer sort;

    @ApiModelProperty(value = "属性")
    private Integer nature;

    private List<Tree> children;
}
